﻿package  org.xhs.report.common
{

    public class Config extends Object
    {
        public static const DOC_TYPE_TXT:String = "txt";
        public static const DOC_TYPE_DOC:String = "doc";
        public static const READER_TYPE_EXTERNAL:String = "external";
        public static const READER_TYPE_INTERNAL:String = "internal";
        public static const DOC_INFO_LENGTH:int = 106;
        public static const TB_HEIGHT:Number = 35;
        public static const SB_HEIGHT:Number = 33;
        public static const BTN_HEIGHT:Number = 18;
        public static const DV_WIDTH_RIGHT_SCROLLBAR:Number = 16;
        public static const BORDER_COLOR:int = 12111302;
        public static const BG_COLOR:int = 10926000;
        public static const BG_DARK_COLOR:int = 15396587;
        public static const BG_LITE_COLOR:int = 16711422;
        public static const HIGHLIGHT_COLOR:int = 16776960;
        public static const TIME_IN_PAGE:Number = 5;
        public static var isAPIViewer:Boolean = false;
        public static var isTextfieldActivated:Boolean = false;
        public static var pageWidth:Number = 681;
        public static var pageHeight:Number = 640;
        public static var _docType:String = "doc";

        public function Config()
        {
            return;
        }// end function

        public static function set docType(param1:String) : void
        {
            _docType = param1;
            return;
        }// end function

        public static function get docType() : String
        {
            return _docType;
        }// end function

        public static function get isTxt() : Boolean
        {
            return _docType == Config.DOC_TYPE_TXT;
        }// end function

    }
}
